/*
 * $Id$
 *
 * Copyright 2006- Revolution Health Group.  All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Revolution Health Group.  (Confidential Information).
 * You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license 
 * agreement you entered into with Revolution Health Group.
 *
 */
package org.javason.jsonrpc;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

public class JsonBean {
	private String _test;
	private Double _testDbl;
	private Long _testLng;
	private TEST_TYPE _testType;
	private List<String> _testStrings;
	private JsonBean2 _testJsonBean2;
	private List<JsonBean2> _testJsonBean2Array;
	
	public enum TEST_TYPE {
		testing,
		going_in
	}

	/**
	 * @return Returns the test.
	 */
	public String getTest() {
		return _test;
	}

	/**
	 * @param test The test to set.
	 */
	public void setTest(String test) {
		_test = test;
	}

	/**
	 * @return Returns the testType.
	 */
	public TEST_TYPE getTestType() {
		return _testType;
	}

	/**
	 * @param testType The testType to set.
	 */
	public void setTestType(TEST_TYPE testType) {
		_testType = testType;
	}

	/**
	 * @return Returns the testStrings.
	 */
	public List<String> getTestStrings() {
		return _testStrings;
	}

	/**
	 * @param testStrings The testStrings to set.
	 */
	public void setTestStrings(List<String> testStrings) {
		_testStrings = testStrings;
	}

	/**
	 * @return Returns the testDbl.
	 */
	public Double getTestDbl() {
		return _testDbl;
	}

	/**
	 * @param testDbl The testDbl to set.
	 */
	public void setTestDbl(Double testDbl) {
		_testDbl = testDbl;
	}

	/**
	 * @return Returns the testLng.
	 */
	public Long getTestLng() {
		return _testLng;
	}

	/**
	 * @param testLng The testLng to set.
	 */
	public void setTestLng(Long testLng) {
		_testLng = testLng;
	}

	/**
	 * @return Returns the testJsonBean2.
	 */
	public JsonBean2 getTestJsonBean2() {
		return _testJsonBean2;
	}

	/**
	 * @param testJsonBean2 The testJsonBean2 to set.
	 */
	public void setTestJsonBean2(JsonBean2 testJsonBean2) {
		_testJsonBean2 = testJsonBean2;
	} 
	
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

	/**
	 * @return Returns the testJsonBean2Array.
	 */
	public List<JsonBean2> getTestJsonBean2Array() {
		return _testJsonBean2Array;
	}

	/**
	 * @param testJsonBean2Array The testJsonBean2Array to set.
	 */
	public void setTestJsonBean2Array(List<JsonBean2> testJsonBean2Array) {
		_testJsonBean2Array = testJsonBean2Array;
	}
}
